home *** CD-ROM | disk | FTP | other *** search
-
- XDEF StrNumCat
-
- XREF NumToStr
- XREF StrEnd
- XREF StrCpy
-
- ; StrNumCat() - Adds a number in the end of the string buffer.
- ; Args:
- ; D0 = The 32-bit number to add.
- ; A0 = Pointer to the string after which to add the number.
-
- StrNumCat:
- move.l a0,-(sp)
- lea .NumBuf,a0
- bsr.w NumToStr
- move.l a0,a1
- move.l (sp)+,a0
- bsr.w StrEnd
- bsr.w StrCpy
- rts
-
- .NumBuf:
- ds.b 11
- CNOP 0,4
-